Bounding box gesture recognition on a touch detecting interactive display

ABSTRACT

The invention provides a method and apparatus for identifying gestures performed by a user to control an interactive display. The gestures are identified based on a bounding box enclosing the points at which a user contacts a touch sensor corresponding with the display surface. The invention thus permits the use of inexpensive and highly reliable grid-based touch sensors that provide a bounding box to describe contact information. In identifying the gestures, the position, motion, shape, and deformation of the bounding box may all be considered. In particular, the center, width, height, aspect ratio, length of the diagonal, and orientation of the diagonal of the bounding box may be determined. A stretch factor, defined as the maximum of the ratio of the height of the bounding box to the width of the bounding box and the ratio of the width of the bounding box to the height of the bounding box, may also be computed. Finally, gestures may be identified based on the changes in time of these characteristics and quantities.

RELATED APPLICATIONS

This application is related to U.S. patent application Ser. No. 10/913,105, entitled Touch Detecting Interactive Display, filed 2004-08-06, the entirety of which is incorporated herein by this reference thereto.

BACKGROUND

1. Technical Field

The invention relates to interactive displays. More particularly, the invention relates to a method and apparatus for determining user gestures to control a touch detecting, interactive display.

2. Description of the Prior Art

There are many situations in which one or more individuals interactively explore image-based data. For example, a team of paleontologists may wish to discuss an excavation plan for a remote dig site. To do so, they wish to explore in detail the geographic characteristics of the site as represented on digitized maps. In most laboratories, this requires the team either to huddle around a single workstation and view maps and images on a small display, or sit at separate workstations and converse by phone. The activity of exploring imagery is much more easily and effectively accomplished with the users surrounding a single large display. A particularly effective approach is a touch detecting, interactive display such as that disclosed in the related patent application entitled Touch Detecting Interactive Display, filed 2004-08-06, Ser. No. 10/913,105. In such a system, an image is produced on a touch detecting display surface. A touch sensor determines the locations at which a user contacts the display surface, and based on the position and motions of these locations, user gestures are determined. The display is then updated based on the determined user gestures.

A wide variety of mechanisms are available for determining the locations at which a user contacts the touch sensor. Often, a grid-based approach is used in which measurements acquired on the perimeter of the touch sensor indicate a horizontal coordinate x₁ and a vertical coordinate y₁ for each contact location.

FIG. 1 shows is a schematic diagram that shows a prior art infrared break-beam, grid-based touch sensor for determining the coordinates of two contact locations. The approach shown is similar to that disclosed in U.S. Pat. No. 3,478,220 to Milroy, U.S. Pat. No. 3,764,813 to Clement et al., U.S. Pat. No. 3,775,560 to Ebeling et al., and U.S. Pat. No. 3,860,754 to Johnson et al. These systems incorporate a series of horizontal and vertical beams generated by infrared LED's and a corresponding series of infrared sensors. In FIG. 1, a point of contact C₁ interrupts the beam of light passing from an emitter E_(1x) to a sensor S_(1x) and the beam of light passing from an emitter E_(1y) to a sensor S_(1y). A similar interruption of beams is created by a contact point C₂. The locations of the contact points (x₁,y₁) and (x₂,y₂) are determined by considering the x and y locations of the interrupted beams. A well known shortcoming of this approach to determining contact locations is a ghosting effect in which the pair of contact locations C₁ and C₂ cannot be distinguished from the pair of contact locations C_(1′) and C_(2′). Accordingly, the contact information returned by grid-based touch sensor is best considered as a bounding box defined by the rectangle C₁C_(1′)C₂C_(2′).

This method of determining and reporting the locations of contacts differentiates grid-based sensors from many other touch sensor technologies such as the Synaptics TouchPad™ found on many laptop computers. By measuring changes in capacitance near a wire mesh, the TouchPad™ determines contact positions directly and reports an absolute position to the host device. Clearly, an ability to directly ascertain and report the position of a contact is in many situations advantageous. However, capacitive sensors do not scale well, and are therefore impractical or prohibitively expensive for incorporation into large interactive displays.

A number of methods have been proposed for recognizing user gestures through tracking the position and motion of one or more contact locations determined by a touch sensor. Clearly, these methods encounter difficulty when used in conjunction with a grid-based sensor that cannot disambiguate the location of multiple simultaneous contact points. It would thus be advantageous to define a set of user gestures in terms of the bounding box surrounding the detected contact locations. Such a set of user gestures would permit the use of inexpensive, highly reliable, and highly scalable grid-based touch sensors yet still allow users to interact with the display in an intuitive manner.

SUMMARY

The invention provides a method and apparatus for identifying gestures performed by a user to control an interactive display. The gestures are identified based on a bounding box enclosing the points at which a user contacts a touch sensor corresponding with the display surface. The invention thus permits the use of inexpensive and highly reliable grid-based touch sensors that provide a bounding box to describe contact information. In identifying the gestures, the position, motion, shape, and deformation of the bounding box may all be considered. In particular, the center, width, height, aspect ratio, length of the diagonal, and orientation of the diagonal of the bounding box may be determined. A stretch factor, defined as the maximum of the ratio of the height of the bounding box to the width of the bounding box and the ratio of the width of the bounding box to the height of the bounding box, may also be computed. Finally, gestures may be identified based on the changes in time of these characteristics and quantities.

Gestures that may be identified include pan, zoom, and rotate gestures. Display commands that may be associated with the identified gestures include, panning, zooming, and rotation commands that, when executed, provide a translation, a change in the magnification, or a change in the orientation of the displayed imagery. In a preferred embodiment of the invention, a pan gesture is identified only if the motion of the bounding box is greater than a predetermined motion threshold and the deformation of the bounding box is less than a predetermined deformation threshold. A zoom gesture is identified only if the stretch factor is greater than a predetermined stretch threshold and is increasing. A rotate gesture is identified only if the deformation of the bounding box is greater than a predetermined deformation threshold. Ambiguity in the direction of rotation implied by a rotate gesture is resolved by a convention in which the bounding box is specified with a particular pair of opposing corners, e.g. lower left and upper right, determining the relative intensity of contact locations, or measuring the torque applied by the user to the display surface.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows is a schematic diagram that shows a prior art infrared break-beam, grid-based touch sensor for determining the coordinates of two contact locations;

FIG. 2 shows is a schematic diagram that shows several users operating an exemplary interactive display in which the invention may be used; and

FIGS. 3 a-3 d shows several gestures identified based on bounding box position, shape, motion, and deformation according to the invention.

DETAILED DESCRIPTION

The invention provides a method and apparatus for identifying gestures performed by a user to control an interactive display. The gestures are identified based on a bounding box enclosing the points at which a user contacts a touch sensor corresponding with the display surface. The invention thus permits the use of inexpensive and highly reliable grid-based touch sensors that provide a bounding box to describe contact information.

FIG. 2 shows is a schematic diagram that shows several users operating an exemplary interactive display in which the invention may be used. The users 50 surround the display 100 such that each can view the display surface 150, which shows imagery of interest to the users. For example, the display may present Geographic Information System (GIS) imagery characterized by geographic 161, economic 162, political 163, and other features, organized into one or more imagery layers. Because the users can comfortably surround and view the display, group discussion and interaction with the display is readily facilitated.

Corresponding with the display surface is a touch sensor 155 that is capable of detecting when and where a user touches the display surface. Based upon the contact information provided by the touch sensor, user gestures are identified, and a command associated with the user gesture is determined. The command is executed, altering the displayed imagery in the manner requested by the user via the gesture. For example, in FIG. 2, a user 55 gestures by placing his fingertips on the display surface and moving them in an outwardly separating manner. This particular gesture 200 is preferably associated with an inward zoom command. When the zoom command is executed, the display provides a closer, more detailed view of the displayed imagery.

In the preferred embodiment of the invention the touch sensor and the display are physically coincident as shown In FIG. 2. This may be achieved, for example, by projecting imagery onto a horizontal touch sensor with an overhead projector. However, in alternative embodiments of the invention, the touch sensor and display are physically separate.

As noted above, cost and reliability often motivate the use of a grid-based sensor in touch detecting displays that, as shown in FIG. 1, typically returns contact information in the form of a bounding box enclosing the detected contact locations. Defining a set of gestures in terms of the bounding box position, shape, motion, and deformation is therefore of great benefit.

FIGS. 3 a-3 d show several gestures identified based on bounding box position, shape, motion, and deformation according to the invention. As shown in FIG. 3 a, the contact information returned by the grid-based touch sensor is summarized by a bounding box described, by convention, by the coordinates of the lower left (x₁,y₁) and upper right (x₂,y₂) corners of the bounding box. The invention uses this information to identify the user gestures. Generally, gestures may be identified based on any of the center, aspect ratio, diagonal, length of the diagonal, and orientation of the diagonal of the bounding box. Gestures may also be identified based on the changes over time of any of these quantities.

In the preferred embodiment of the invention, gestures are identified using the procedure detailed below and illustrated in FIGS. 3 b-3 d. Upon receipt of a bounding box from the touch sensor:

-   -   1. The bounding box width w, height h, center {right arrow over         (C)}, and diagonal {right arrow over (d)}, are determined based         on the corners of the bounding box.     -   2. The aspect ratio of the bounding box $A = \frac{h}{w}$         and the stretch factor of the bounding box         $S = {\max\left\lbrack {A,\frac{1}{A}} \right\rbrack}$         are determined.     -   3. The rate of change of each of these parameters is determined         based on a history of each parameter. More specifically, {dot         over (w)}, {dot over (h)}, {right arrow over ({dot over (C)})},         and {right arrow over ({dot over (d)})} are determined, where         {dot over (Q)} denotes the first derivative with respect to time         of the quantity Q. The time derivatives may be computed using         one or more of the previous parameter values, that is, using         first or higher order derivative approximations.     -   4. The rate of change of the minimum and maximum of the length         and width         $\frac{\mathbb{d}}{\mathbb{d}t}\left( {\min\left\lbrack {w,h} \right\rbrack} \right)$         and         $\frac{\mathbb{d}}{\mathbb{d}t}\left( {\max\left\lbrack {w,h} \right\rbrack} \right)$         are determined. The time derivatives may be computed using one         or more of the previous parameter values, that is, using first         or higher order derivative approximations.     -   5. Then,         -   If {dot over (w)}<ε₁, {dot over (h)}<ε₁, and |{right arrow             over ({dot over (C)})}|≧ε_(c), that is, if the bounding box             is moved significantly but not deformed significantly, a pan             gesture is identified.         -   If             ${S > {1 + ɛ_{S}}},{{{\frac{\mathbb{d}}{\mathbb{d}t}\left( {\min\left\lbrack {w,h} \right\rbrack} \right)}} < ɛ_{l}},\quad{{{and}\quad{{\frac{\mathbb{d}}{\mathbb{d}t}\left( {\max\left\lbrack {w,h} \right\rbrack} \right)}}} \geq ɛ_{l}},$         -    that is, if a stretch factor of an already stretched             bounding box is increased or decreased significantly, a zoom             gesture is identified.         -   If |{dot over (w)}|≧ε₁, |{dot over (h)}|≧ε₁, and |{right             arrow over ({dot over (C)})}|<ε_(c), that is, if the             bounding box is deformed significantly but not moved             significantly, a rotate gesture is identified.         -   Else, no gesture is identified.             ε₁ and ε_(c) are predetermined thresholds corresponding to             the ability of a typical user to hold the corresponding             bounding box parameter constant while executing a gesture.             ε_(S) is a minimum stretch factor above which gestures may             be considered an inward or outward zoom. The values of the             thresholds may be adjusted to yield a desired gesture             classification behavior.

After a gestures is identified, a display command consistent with the identified gesture is determined, and the display is updated appropriately. In the preferred embodiment of the invention:

-   -   If a pan gesture is identified, the display is translated at         constant magnification and orientation in the direction of.         {right arrow over ({dot over (C)})} at a rate proportional to         |{right arrow over ({dot over (C)})}|.     -   If a zoom gesture is identified, the magnification of the         display is increased or decreased about the center of the         display at a rate proportional to | d/dt(max[w,h])|.         Alternatively, the display the magnification of the display may         be changed about the current bounding box center {right arrow         over ({dot over (C)})}.     -   If a rotate gestures is identified, the display is rotated about         the center of the display at a rate proportional to         $\frac{\mathbb{d}}{\mathbb{d}t}{\left( {\angle\overset{->}{d}} \right).}$         Preferably, the display is rotated about its center.         Alternatively, the display may be rotated about the current         bounding box center {right arrow over ({dot over (C)})}.

In the preferred embodiment of the invention, the identification procedure is performed upon or shortly after initiation of contact by the user. Once the gesture has been identified, the identification is maintained until the contact is terminated. Throughout the duration of the contact, the display is continually updated, preferably each time updated bounding box information is received from the touch sensor. Initiation and termination of the single gesture are therefore determined based upon the appearance and disappearance of the bounding box, which is typically an event explicitly declared by the touch sensor.

Experimentation has indicated that such a rigid gesture classification is preferred by users, because it is difficult in practice to execute gestures that are purely of one type. Classifying the bounding box motion and deformation as a gesture of one type averts the frustration experienced by a user when, for example, an attempt to zoom results in both a zooming and a rotating motion of the display.

Nonetheless, in an alternative embodiment of the invention, the identification procedure is performed more frequently. For example, the identification procedure may be performed each time updated bounding box information is received from the touch sensor. In this approach, a single user motion, as delineated by the appearance and disappearance of a bounding box, potentially contains pan, zoom, and rotate gestures. Over the duration of the gesture, the display is updated with a combination of panning, zooming, and rotational motions that, to the user, appear smooth and continuous. Successful implementation of this embodiment requires especially careful selection of the thresholds ε₁, ε_(c), and ε_(S).

In the above gesture identification procedure, the gesture for rotation remains partly ambiguous. Specifically, the direction of rotation cannot be determined from the bounding box alone. The pairs of points [C₁,C₂] and [C₁,C_(2′)] of FIG. 1 that possibly define the bounding box result in opposite directions of rotation. This ambiguity may be addressed through a number of approaches. In one approach, users adopt a convention of designating the bounding box with the lower left and upper right corners, or the upper left and lower right corners. In another approach, the gesture identification procedure assumes a single direction of rotation, regardless of the actual points of contact. In yet another approach, the ghosting effect of FIG. 1 may be truly disambiguated. In the case of grid-based sensors, for example, the true points of contact typically provide a stronger signal than do the ghost points of contact. The relative strength of the pairs of points [C₁,C₂] and [C₁,C_(2′)] may be used to determine the true contacts and therefore the correct direction of rotation. Finally, a measurement of the torque applied to the display surface may be made to ascertain directly the direction of rotation implied by the user gesture.

It should be noted that although the invention is described above with reference to a bounding box defined by two contact locations, the bounding box may also be defined for the case of three or more contact points. For a set of contact points C, defined by contact locations (x_(i),y_(i)), the bounding box is defined by the corners (min[x_(i)],min[y_(i)]) and (max[x_(i)],max[y_(i)]).

While the description herein references a grid-based sensor incorporating a series of infrared emitters and receivers, the invention is equally applicable to other grid-based sensors. For example, the invention may be used with laser break-beam grids, resistive grids, capacitive grids, and arrays of acoustic, e.g. ultrasonic, emitters and microphones. The invention may also be used with non-grid-based sensors that return contact information in the form of a bounding box.

Finally, while the invention is described with reference to a rectangular bounding box, alternative embodiments of the invention may used non-rectangular bounding boxes. For example, a touch sensor incorporating corner based sensors that determine an angular bearing to each point of contact may return contact information in the form of a quadrilateral bounding box. The techniques described herein can be applied to a generalized quadrilateral bounding box with appropriate definition of a bounding box center, width, height, aspect ratio, and diagonal. The invention may thus be used in conjunction with sensors that are not strictly grid-based.

Although the invention is described herein with reference to several embodiments, including the preferred embodiment, one skilled in the art will readily appreciate that other applications may be substituted for those set forth herein without departing from the spirit and scope of the invention.

Accordingly, the invention should only be limited by the following Claims. 

1. A method of operating an interactive display comprising the steps of: displaying imagery on an imaging surface; providing a touch sensor corresponding to said imaging surface; detecting at least two contact locations at which at least one user contacts said touch sensor to control said display; determining a bounding box enclosing said at least two contact locations; identifying a specific user gesture based on said bounding box; associating said user gesture with a corresponding display command; and executing said display command to alter the display of said imagery.
 2. The method of claim 1, said identifying step comprising the step of considering any of: a position of said bounding box; a motion of said bounding box; a shape of said bounding box; and a deformation of said bounding box.
 3. The method of claim 1, said identifying step comprising the step of determining any of: a center of said bounding box; a width of said bounding box; a height of said bounding box; an aspect ratio of said bounding box; a length of a diagonal of said bounding box; and an orientation of a diagonal of said bounding box.
 4. The method of claim 1, said identifying step comprising the step of determining a time rate of change of any of: a center of said bounding box; a width of said bounding box; a height of said bounding box; an aspect ratio of said bounding box; a length of a diagonal of said bounding box; and an orientation of a diagonal of said bounding box.
 5. The method of claim 1, said identifying step comprising the step of determining a stretch factor comprising a maximum of a ratio of said bounding box width to said bounding box height and a ratio of said bounding box height to said bounding box width.
 6. The method of claim 1, said identifying step comprising the step of determining a time rate of change of a stretch factor comprising a maximum of a ratio of said bounding box width to said bounding box height and a ratio of said bounding box height to said bounding box width.
 7. The method of claim 1, wherein said gesture comprises any of: a pan gesture; a zoom gesture; and a rotate gesture.
 8. The method of claim 1, wherein said display command effects any of: a translation of said imagery; a change in magnification of said imagery; and a change in orientation of said imagery.
 9. The method of claim 2, said identifying step comprising the step of identifying a pan gesture by executing the steps of: determining if said motion is greater than a predetermined motion threshold; and determining if said deformation is less than a predetermined deformation threshold.
 10. The method of claim 5, said identifying step comprising the step of identifying a zoom gesture by executing the steps of: determining if said stretch factor is greater than a predetermined stretch threshold; and determining if said stretch factor is either increasing or decreasing.
 11. The method of claim 2, said identifying step further comprising the step of identifying a rotate gesture by executing the steps of: determining if said deformation is greater than a predetermined deformation threshold; and determining if said motion is less than a predetermined threshold.
 12. The method of claim 8, wherein a direction of said change in the orientation of said imagery is determined by any of the steps of: applying a convention to indicate a particular diagonally opposed orientation of a pair of points used to specify said bounding box; determining a relative intensity for said at least one contact location; and measuring a torque applied to said touch sensor by said user.
 13. An interactive display comprising: means for displaying imagery on an imaging surface; a touch sensor corresponding to said imaging surface; means for detecting at least two contact locations at which at least one user contacts said touch sensor to control said display; means for determining a bounding box enclosing said at least two contact locations; means for identifying a specific user gesture based on said bounding box; means for associating said user gesture with a corresponding display command; and means for executing said display command to alter the display of said imagery.
 14. The display of claim 13, said means for identifying comprising means for identifying any of: a position of said bounding box; a motion of said bounding box; a shape of said bounding box; and a deformation of said bounding box.
 15. The display of claim 13, said means for identifying comprising means for determining any of: a center of said bounding box; a width of said bounding box; a height of said bounding box; an aspect ratio of said bounding box; a length of a diagonal of said bounding box; and an orientation of a diagonal of said bounding box.
 16. The display of claim 13, said means for identifying comprising means for determining a time rate of change of any of: a center of said bounding box; a width of said bounding box; a height of said bounding box; an aspect ratio of said bounding box; a length of a diagonal of said bounding box; and an orientation of a diagonal of said bounding box.
 17. The display of claim 13, said means for identifying comprising means for determining a stretch factor comprising a maximum of a ratio of said bounding box width to said bounding box height and a ratio of said bounding box height to said bounding box width.
 18. The display of claim 13, said means for identifying comprising means for determining a time rate of change of a stretch factor comprising a maximum of a ratio of said bounding box width to said bounding box height and a ratio of said bounding box height to said bounding box width.
 19. The display of claim 13, wherein said gesture comprises any of: a pan gesture; a zoom gesture; and a rotate gesture.
 20. The display of claim 13, wherein said display command effects any of: a translation of said imagery; a change in magnification of said imagery; and a change in orientation of said imagery.
 21. The display of claim 14, said means for identifying comprising means for identifying a pan gesture, comprising: means for determining if said motion is greater than a predetermined motion threshold; and means for determining if said deformation is less than a predetermined deformation threshold.
 22. The display of claim 17, said means for identifying comprising means for identifying a zoom gesture, comprising: means for determining if said stretch factor is greater than a predetermined stretch threshold; and means for determining if said stretch factor is either increasing or decreasing.
 23. The display of claim 14, said identifying step means for comprising means for identifying a rotate gesture, comprising: means for determining if said deformation is greater than a predetermined deformation threshold; and means for determining if said motion is less than a predetermined threshold.
 24. The display of claim 20, wherein a direction of said change in the orientation of said imagery is determined by any of the steps of: means for applying a convention to indicate a particular diagonally opposed orientation of a pair of points used to specify said bounding box; means for determining a relative intensity for said at least one contact location; and means for measuring a torque applied to said touch sensor by said user. 